package com.shire.shire_interface.dao.command;

import com.shire.shire_interface.model.command.WxCommand;
import com.shire.shire_interface.model.command.WxCommandExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WxCommandDao {
    long countByExample(WxCommandExample example);

    int deleteByExample(WxCommandExample example);

    int deleteByPrimaryKey(Long id);

    int insert(WxCommand record);

    int insertSelective(WxCommand record);

    List<WxCommand> selectByExampleWithBLOBs(WxCommandExample example);

    List<WxCommand> selectByExample(WxCommandExample example);

    WxCommand selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") WxCommand record, @Param("example") WxCommandExample example);

    int updateByExampleWithBLOBs(@Param("record") WxCommand record, @Param("example") WxCommandExample example);

    int updateByExample(@Param("record") WxCommand record, @Param("example") WxCommandExample example);

    int updateByPrimaryKeySelective(WxCommand record);

    int updateByPrimaryKeyWithBLOBs(WxCommand record);

    int updateByPrimaryKey(WxCommand record);
}